import { createI18n } from 'vue-i18n'
import { viewerSources as zh_CN } from '@/locales/zh_CN'
// import { modelerSources as en_US } from '@/locales/en_US'

export const defaultLang = 'zh_CN'

const i18n = createI18n({
  legacy: false,
  globalInjection: true,
  locale: defaultLang,
  messages: {
    zh_CN,
  }
})

export default i18n
